//
//  ReviewCollectionViewCell.swift
//  appstore
//
//  Created by llbt-sk on 2019/11/8.
//  Copyright © 2019 Roy. All rights reserved.
//

import UIKit

class ReviewCollectionViewCell: UICollectionViewCell {
    
    var coverImageView:UIImageView!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        coverImageView = UIImageView()
        coverImageView.layer.cornerRadius = 14.0
        coverImageView.layer.masksToBounds = true
        coverImageView.contentMode = .scaleAspectFill
        self.contentView.addSubview(coverImageView)
        coverImageView.snp.makeConstraints { (make) in
            make.top.left.right.bottom.equalTo(0.0)
        }
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
